package org.example.swagger.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * description: 字段描述
 * example: 字段返回实例
 */
@Data
public class User {

    @Schema(description = "用户ID", example = "1")
    private Long id;

    @Schema(description = "用户姓名", example = "张三")
    private String name;

    @Schema(description = "用户邮箱", example = "zhangsan@example.com")
    private String email;
}
